﻿using System.Text.Json.Serialization;

namespace LowCoding.Dto
{
    public class TreeMainDto
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        [JsonPropertyName("id")]
        public string Id { get; set; }

        /// <summary>
        /// 菜单代码
        /// </summary>
        public string MdlCode { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MdlName { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string IconCls { get; set; }

        /// <summary>
        /// 跳转地址
        /// </summary>
        public string ModuleUrl { get; set; }
        public string path { get; set; }

        /// <summary>
        /// 子菜单集合
        /// </summary>
        public List<TreeMainDto> children { get; set; }

        /// <summary>
        /// 按钮集合
        /// </summary>
        public List<TreeMainDto> Functions { get; set; }
    }
}